export const imageError = {
  inserted(el, binding) {
    // 处理图片错误,当图片出错就会触发onerror事件
    el.addEventListener('error', () => {
      el.src = binding.value
    })
  }
}
